home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / macros / text1 / cms_help_files / laf.helpmark < prev    next >
Text File  |  1991-10-23  |  6KB  |  121 lines

  1. +-----------------------------------------------------------------------------+
  2. |                                 labelformat                                 |
  3. +-----------------------------------------------------------------------------+
  4.  
  5. \labelformat{\skipbefore{1\bl}
  6.              \labelwidth{72pt}
  7.              \gutter{1em}
  8.              \everylabel{\rm}
  9.              }
  10.  
  11. Abbreviation:  π|\lafπ%
  12.  
  13. Parameters:    π|submarkupπ%
  14.  
  15. Submarkup:     π|\skipbefore, \labelwidth, \gutter,
  16. \everylabelπ%
  17.  
  18.     π|Description:π%
  19. The \labelformat markup controls the appearance of labelled paragraphs.
  20.  
  21. \skipbefore   indicates how much  space is to  be skipped  before printing a
  22. block.  This amount is in addition to any paragraph skips.
  23.  
  24. \labelwidth  sets  the amount of space  to contain the label  to the left of
  25. the paragraph.   The  shaded portion illustrated  here is  the "label width"
  26. area:
  27.  
  28. +-----------------------------------------------------------------------------+
  29. |                                                                             |
  30. | SCALE,                                                                      |
  31. | nmin, nmax fornhalfwordxdata.)nteSince pixeledifferences5can(rangeabetween  |
  32. |            -255 and +255 (-511 and  . . .                                   |
  33. |                                                                             |
  34. +-----------------------------------------------------------------------------+
  35.  
  36. The default label width is 72 points (one inch).  To change to a label width
  37. of 1 2 inch you would enter,
  38.  
  39. \labelformat{\labelwidth{.5in}}
  40.  
  41. \gutter  keeps a small amount  of space between the label and the paragraph.
  42. The shaded portion illustrated on the next page is the "label gutter" area.
  43.  
  44. +-----------------------------------------------------------------------------+
  45. |                                                                             |
  46. | SCALE,                                                                      |
  47. | nmin, nmax fornhalfwordxdata.)nteSince pixeledifferences5can(rangeabetween  |
  48. |            -255 and +255 (-511 and  . . .                                   |
  49. |                                                                             |
  50. +-----------------------------------------------------------------------------+
  51.  
  52. The default amount is  1 em space.  To change to  a label gutter of 5 points
  53. you would enter,
  54.  
  55. \labelformat{\gutter{5pt}}
  56.  
  57. \everylabel   determines the type  face and size of  the label itself.   The
  58. default is roman face and right ragged.
  59.  
  60.     π|Example:π%
  61. The sample  markup reduces the  skipbefore amount,  increases the labelwidth
  62. (to suit a larger format), and  changes the font for labels to 9 point bold.
  63. Note the use of displayed math mode.
  64.  
  65. \selectfontset{cm9}{ninepoint}{default}
  66. \labelformat{\skipbefore{6pt}
  67.              \labelwidth{108pt}
  68.              \gutter{1em}
  69.              \everylabel{\ninepoint\bd}}
  70. \label{HALF}
  71. specifies that both input datasets are halfword
  72. (maximum 511 DN) (default is byte data).
  73. \la{ADD} specifies that the sum of the two input
  74. datasets is to be computed (default is the
  75. computation of the difference image).
  76.  
  77. \la{SCALE, nmin, nmax}
  78. nmin and nmax are integers between -255 and 510
  79. (-511 and 1022 for halfword data.) Since  . . .
  80. \la{}
  81. If N(I,J) is less than nmin, the OUTPUT=0.\lbr
  82. If N(I,J) is greater than nmax, the OUTPUT=K.\lbr
  83. If N(I,J) is between or equal to nmin and nmax then
  84. @@OUTPUT = K*{N(I,J)-nmin\over nmax-nmin}@@
  85. where N(I,J) = IN1(I,J) - IN2(I,J) or if "ADD" has
  86. been specified, N(I,J) = IN1(I,J) + IN2(I,J)
  87. and K = 255 (511 for halfword data).
  88. \la{TRANS\lbr sl1, ss1, sl2, ss2}sl1 and ss1 are
  89. line and sample
  90. coordinates for a point in IN1, and sl2 and ss2 are the
  91. corresponding coordinates for the point in IN2. If HALF
  92. has been specified, ss1 and ss2 refer to {\it bytes}
  93. (not sample) in IN1 and In2, respectively.
  94.  
  95. +-----------------------------------------------------------------------------+
  96. |                                                                             |
  97. | HALF            specifies that  both input datasets  are halfword (maximum  |
  98. |                 511 DN) (default is byte data).                             |
  99. | ADD             specifies that  the sum  of the two  input datasets  is to  |
  100. |                 be computed (default is  the computation of the difference  |
  101. |                 image).                                                     |
  102. |                                                                             |
  103. | SCALE,  nmin,                                                               |
  104. | nmax            1022 for halfword data.)rsSincewe.n.-.55 and 510 (-511 and  |
  105. |                 If N(I,J) is less than nmin, the OUTPUT=0.                  |
  106. |                 If N(I,J) is greater than nmax, the OUTPUT=K.               |
  107. |                 If  N(I,J) is  between  or  equal to  nmin  and  nmax then  |
  108. |                 OUTPUT = K*N(I,J)-nmin nmax-nmin where N(I,J) = IN1(I,J) -  |
  109. |                 IN2(I,J) or if "ADD" has been specified, N(I,J) = IN1(I,J)  |
  110. |                 + IN2(I,J) and K = 255 (511 for halfword data).             |
  111. |                                                                             |
  112. | TRANS                                                                       |
  113. | sl1, ss1,  sl2,IN1, and  sl2 and ss2 are the corresponding coordinates for  |
  114. | ss2             the pointsinaIN2.inIfaHALFahasebeenrspecified,rss1pandtss2  |
  115. |                 refer to bytes (not sample) in IN1 and In2, respectively.   |
  116. |                                                                             |
  117. +-----------------------------------------------------------------------------+
  118.  
  119.     π|Notes:π%
  120. none.
  121.